import {
    AREA_DATA
} from "../actions/actionsTypes"

export default function homeReducer(state = {areaData:[]}, action) {
	switch (action.type) {
		case AREA_DATA:
			return Object.assign({}, state, {areaData: action.data.areaMsgList});
		default:
			return state;
	}
}
